package cn.com.dhc.danlu.activity.delivery.order.bean;

import cn.com.dhc.danlu.activity.delivery.order.typefactory.IOrderTypeFactory;

/**
 * author: 李一方(<a href="mailto:liyifang@danlu.com">liyifang@danlu.com</a>)<br/>
 * version: 1.0.0<br/>
 * since: 2017-02-14 15:11
 * <p>
 * <p>
 * 内容描述区域
 * </p>
 */
public class OrderDataBean extends BaseHolderBean {
    // 商品名
    private String merchName;
    // 商品条码
    private String merchBarCode;
    // 商品数量
    private String merchCount;
    // 图片URL
    private String picUrl;
    // 原价 (上面划掉的那个)
    private String costPrice;
    // 实际单价
    private String unitPrice;
    // 促销类型 - 4 为促销，需要划掉上面的价格，其余不坐操作
    private String promotionType;
    // 均价 - 促销时才显示
    private String averagePrice;

    public String getMerchName() {
        return merchName;
    }

    public void setMerchName(String merchName) {
        this.merchName = merchName;
    }

    public String getMerchBarCode() {
        return merchBarCode;
    }

    public void setMerchBarCode(String merchBarCode) {
        this.merchBarCode = merchBarCode;
    }

    public String getMerchCount() {
        return merchCount;
    }

    public void setMerchCount(String merchCount) {
        this.merchCount = merchCount;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(String costPrice) {
        this.costPrice = costPrice;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(String promotionType) {
        this.promotionType = promotionType;
    }

    public String getAveragePrice() {
        return averagePrice;
    }

    public void setAveragePrice(String averagePrice) {
        this.averagePrice = averagePrice;
    }

    @Override
    public int type(IOrderTypeFactory IOrderTypeFactory) {
        return IOrderTypeFactory.type(this);
    }

    @Override
    public String getImpOrderNo() {
        return super.getImpOrderNo();
    }
}
